package com.zyf.chapter02.structure.decorator.eureka;

/**
 * rest 客户端工厂
 * @author yifeng
 */
public class RestTemplateTransportClientFactory implements TransportClientFactory {
    @Override
    public HttpClient newClient() {
        // 这里返回
        System.out.println("创建 RestTemplateTransportClient 对象");
        return new RestTemplateTransportClient();
    }
}
